<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>
            agoda 
        </title>
        <link rel="Shortcut Icon" type="image/x-icon" href="/homeassets/index/images/favicon.ico" />
        <link type="text/css" rel="stylesheet"  href="/homeassets/detail/css/basePatch.css"/>
        <link type="text/css" rel="stylesheet"  href="/homeassets/detail/css/common.css" source="widget"/>
        <link rel="stylesheet" href="/homeassets/index/css/base.min.css" />
        <link rel="stylesheet" href="/homeassets/index/css/index.min.css" />
    		<link type="text/css" rel="stylesheet" href="/homeassets/infor/css/globalMaylike.css"/>
    		<link type="text/css" rel="stylesheet" href="/homeassets/infor/css/basePatch.css"/>
    		<link type="text/css" rel="stylesheet" href="/homeassets/infor/css/myjd.coupon20150805.css" source="combo"/>
    		<link type="text/css" rel="stylesheet" href="/homeassets/infor/css/ui-page.css" source="widget"/>
    <script type="text/javascript" src="/homeassets/jquery.js"></script>
    <style>
        *{ margin:0; padding:0; list-style:none;}
        #lanrenzhijia{ width:500px; height:500px; margin:10px auto; padding-right:12px; overflow:hidden;}
    </style>
    </head>
    <body>
        @if(session('success'))
            <script>
                alert("{{ session('success') }}");
                location.href = '/home/detail/site';
            </script>
        @endif
        <div id="nav" >
            <div class="w" >
                <div class="logo">
                    <a href="/" class="" style="float: left;margin-right: -50px;margin-top:20px;width: 158px;height: 80px;"><img src="/homeassets/index/images/logo.png" title="Agoda" alt="Agoda"></a>
                    <a href="/home/detail/index" target="_self" class="fore2" style="float: left;font-size: 20px;margin: 20px 0 0 6px;height: 22px;">天使的购哒</a>
                    <a href="/" class="fore3" >返回商城首页</a>
                </div>
                <div class="nav-r">
                    <div id="settleup-2014" class="dorpdown">
                        <div class="cw-icon">
                            <i class="ci-left"></i>
                            <i class="ci-right">&gt;</i><i class="ci-count" id="shopping-amount"></i>
                            <a target="_blank" href="/home/shopcart">我的购物车</a>
                        </div>
                    </div>
                </div>
                <div class="clr"></div>
            </div>
        </div>
      	<div id="container">
            <div class="w" style="width:990px;padding:10px">
                <div id="content">
                    <div id="sub">
                        <div id="menu">
                            <dl class="fore1">
                                <dt id="_MYJD_setting">消息</dt>
                                <hr style="height:3px;border:none;border-top:3px solid #d75650;" />
                                <dd class="fore1_1 curr" id="_MYJD_sysmsg">
                                    <a clstag="sysmsg" href="/home/infor/infor">系统消息</a></dd>
                            </dl>
                        </div>
                    </div>
                    <!--注意！消息精灵html部分-->
                    <link type="text/css" rel="stylesheet" href="//misc.360buyimg.com/user/myjd-2015/css/myjd.message2015.css" source="combo" />
                    <div id="main">
                        <div class="mod-main mod-comm message-box">
                            <form action="" id="queryMsgFrom" method="post">
                                <div class="mc">
                                    <div class="mg-left" style="padding-top:0px">
                                        <div class="mg-noticelist">
                                            <div class="ui-scrollbar-main">
                                                <ul>
                                                    <li  class="mg-types mg-types-cur">
                                                        <span class="mg-timg actimg">
                                                            <s id="unsubscribe_icon_1" class="hide"></s>
                                                        </span>
                                                      <div class="mg-tcont">
                                                          <div class="mg-ttitle">
                                                              <div style="float:left;width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">
                                                                  <a href="javascript:void(0);" title="系统通知">系统通知</a></div>
                                                              <span class="mg-ttime"></span>
                                                          </div>
                                                          <span class="mg-illus">
                                                              <div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:135px;float:left">
                                                                	@if($data1 == 0)
                                                                  <font color="grey">无未读消息</font>
                                                                  @else
                                                                  <font color="grey">有{{ $data1 }}条消息未读</font>
                                                                  @endif
                                                              </div>
                                                          </span>
                                                      </div>
                                                    </li>
                                                    <li  class="mg-types ">
                                                        <span class="mg-timg runimg">
                                                            <s id="unsubscribe_icon_3" class="hide"></s>
                                                        </span>
                                                        <div class="mg-tcont">
                                                            <div class="mg-ttitle">
                                                                <div style="float:left;width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">
                                                                  <a href="/home/infor/infors" title="系统公告">系统公告</a></div>
                                                                <span class="mg-ttime"></span>
                                                            </div>
                                                            <span class="mg-illus">
                                                                <div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:135px;float:left">
                                                                    @if($data2 == 0)
                                                                    <font color="grey">无未读消息</font>
                                                                    @else
                                                                    <font color="grey">有{{ $data2 }}条消息未读</font>
                                                                    @endif
                                                                </div>
                                                            </span>
                                                        </div>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mg-right" style="padding-bottom:10px">
                                        <div class="mg-select">
                                            <div class="mg-msgtitle">
                                                <input id="typeId" type="hidden" value="1" />
                                                <input id="typeName" type="hidden" value="系统通知" />
                                                <input id="unsubscribe" type="hidden" value="" />系统通知
                                                <s>
                                                    <i>◇</i>
                                                </s>
                                                <div class="mg-seloptions hide">
                                                    <s>
                                                    </s>
                                                    <i>
                                                    </i>
                                                    <ul>
                                                        <li>
                                                          <a id="msg_subscribe" href="javascript:void(0)" >屏蔽</a></li>
                                                        <li>
                                                          <a href="/home/infor/delete" >清空</a></li>
                                                    </ul>
                                                </div>
                                              </div>
                                        </div>
                                        <div class="mg-noticeshow" style="height:532px">
                                            <div id="lanrenzhijia">
                                                <div class="ui-scrollbar-main" style="margin-top:10px">
                                                    <ul id="msg-node-15327253114" class="mg-coupon">
                            						                @foreach($data as $k => $v)
                                            						<li>
                                            						    <span class="mg-time" style="width:125px;margin-left:175px">{{ date('Y-m-d H:i:s',$v['time']) }}</span>
                                            						    <div class="mg-box">
                                            						      	<div class="mg-title">
                                            						        	<h4 style="float: left">系统通知</h4>
                                            						        	<a style="margin-left:360px;" href="/home/infor/delete/{{ $v['id'] }}">×</a>
                                            						      	</div>
                                            						      	<div class="mg-content clearfix">
                                            						        	<div>{{ $v['content'] }}</div>
                                            						      	</div>
                                            						    </div>
                                            						</li>
                            						                @endforeach
                          					                </ul>
                                                    <div class="mg-more">
                                                      <a href="javascript:void(0);">已经没有更多的消息了</a>
                                                    </div>
                                                    <br />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="site-footer">
            <div class="container">
                <div class="footer-links clearfix">
                    <dl class="col-links col-links-first">
                        <dt>
                            帮助中心
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            服务支持
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            线下门店
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            关于agoda
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            <a href="/home/link/index">有情连接</a>
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            关注我们
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            特色服务
                        </dt>
                    </dl>
                    <div class="col-contact">
                        <p class="phone" style="color:#0283DF">
                            188-4611-9379
                        </p>
                        <p>
                            <span class="J_serviceTime-normal" style="
                            ">
                            
                            </span>
                            
                            <br>
                           
                        </p>
                        <a rel="nofollow" class="btn btn-line-primary btn-small" href=""
                        target="_blank">
                            <i class="iconfont">
                                &#xe600;
                            </i>
                            
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="site-info">

            <div class="container">
                <div class="logo ir">
                    agoda官网
                </div>
                <div class="info-text">
                    <p>
                        &copy;
                        <a href="" target="_blank" title="agoda.com">
                            agoda.com
                        </a>
                        鲁ICP证110507号
                        <a href="/" target="_blank" rel="nofollow">
                            鲁ICP备10046444号
                        </a>
                        <a rel="nofollow" href=""
                        target="_blank">
                            鲁公网安备11010802020134号
                        </a>
                        <a rel="nofollow" href="//c1.mifile.cn/f/i/2013/cn/jingwangwen.jpg" target="_blank"
                        rel="nofollow">
                            鲁网文[2014]0059-0009号
                        </a>
                        <br>
                        违法和不良信息举报电话：185-0130-1238，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试
                    </p>
                </div>
            </div>
            <div class="slogan ir">
                探索黑商城，agoda为发烧而生
            </div>
        </div>
        <script src="/homeassets/infor/js/infor.js"></script>
        <script src="/homeassets/infor/js/jquery.min.js"></script>
        <script src="/homeassets/infor/js/jquery.nicescroll.js"></script>
        <script>
        $("#lanrenzhijia").niceScroll({  
        cursorcolor:"#ccc",  
        cursoropacitymax:1,  
        touchbehavior:false,  
        cursorwidth:"5px",  
        cursorborder:"0",  
        cursorborderradius:"5px"  
        }); 
        </script>
   </body>
</html>